package com.his.registration.mapper;

import com.his.registration.pojo.MedicalRecordDisease;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.mapper
 * @Author: ZhangYing
 * @Date: 2023/7/3 15:14
 * @Description:
 */
@Mapper
public interface MedicalRecordDiseaseMapper {
    //在疾病记录表中：给病历id增加疾病id
    @Insert("insert into medical_record_disease values(#{medicalRecordId},#{diseaseId})")
    public int insert(MedicalRecordDisease medicalRecordDisease);
}
